<xs:schema id="PortalConfigurations" targetNamespace="http://tempuri.org/PortalConfigurations.xsd" xmlns:mstns="http://tempuri.org/PortalConfigurations.xsd" xmlns="http://tempuri.org/PortalConfigurations.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified" msdata:schemafragmentcount="2">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
        </Connections>
        <Tables>
        </Tables>
        <Sources>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="PortalConfigurations" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="PortalConfigurations" msprop:Generator_DataSetName="PortalConfigurations">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Global" msprop:Generator_UserTableName="Global" msprop:Generator_RowDeletedName="GlobalRowDeleted" msprop:Generator_RowChangedName="GlobalRowChanged" msprop:Generator_RowClassName="GlobalRow" msprop:Generator_RowChangingName="GlobalRowChanging" msprop:Generator_RowEvArgName="GlobalRowChangeEvent" msprop:Generator_RowEvHandlerName="GlobalRowChangeEventHandler" msprop:Generator_TableClassName="GlobalDataTable" msprop:Generator_TableVarName="tableGlobal" msprop:Generator_RowDeletingName="GlobalRowDeleting" msprop:Generator_TablePropName="Global">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="MasterFile" msprop:Generator_UserColumnName="MasterFile" msprop:Generator_ColumnPropNameInRow="MasterFile" msprop:Generator_ColumnVarNameInTable="columnMasterFile" msprop:Generator_ColumnPropNameInTable="MasterFileColumn" type="xs:string" minOccurs="0" msdata:Ordinal="2" />
              <xs:element name="Language" msprop:Generator_UserColumnName="Language" msprop:Generator_ColumnVarNameInTable="columnLanguage" msprop:Generator_ColumnPropNameInRow="Language" msprop:Generator_ColumnPropNameInTable="LanguageColumn" type="xs:string" default="en-US" minOccurs="0" msdata:Ordinal="4" />
              <xs:element name="AllowRegister" msprop:Generator_UserColumnName="AllowRegister" msprop:Generator_ColumnPropNameInRow="AllowRegister" msprop:Generator_ColumnVarNameInTable="columnAllowRegister" msprop:Generator_ColumnPropNameInTable="AllowRegisterColumn" type="xs:boolean" default="true" minOccurs="0" msdata:Ordinal="5" />
            </xs:sequence>
            <xs:attribute name="PortalID" form="unqualified" msprop:Generator_UserColumnName="PortalID" msprop:Generator_ColumnPropNameInRow="PortalID" msprop:Generator_ColumnVarNameInTable="columnPortalID" msprop:Generator_ColumnPropNameInTable="PortalIDColumn" type="xs:int" use="required" />
            <xs:attribute name="PortalName" form="unqualified" msprop:Generator_UserColumnName="PortalName" msprop:Generator_ColumnPropNameInRow="PortalName" msprop:Generator_ColumnVarNameInTable="columnPortalName" msprop:Generator_ColumnPropNameInTable="PortalNameColumn" type="xs:string" />
            <xs:attribute name="AlwaysShowEditButton" form="unqualified" msprop:Generator_UserColumnName="AlwaysShowEditButton" msprop:Generator_ColumnPropNameInRow="AlwaysShowEditButton" msprop:Generator_ColumnVarNameInTable="columnAlwaysShowEditButton" msprop:Generator_ColumnPropNameInTable="AlwaysShowEditButtonColumn" type="xs:boolean" />
          </xs:complexType>
        </xs:element>
        <xs:element name="Tab" msprop:Generator_UserTableName="Tab" msprop:Generator_RowDeletedName="TabRowDeleted" msprop:Generator_RowChangedName="TabRowChanged" msprop:Generator_RowClassName="TabRow" msprop:Generator_RowChangingName="TabRowChanging" msprop:Generator_RowEvArgName="TabRowChangeEvent" msprop:Generator_RowEvHandlerName="TabRowChangeEventHandler" msprop:Generator_TableClassName="TabDataTable" msprop:Generator_TableVarName="tableTab" msprop:Generator_RowDeletingName="TabRowDeleting" msprop:Generator_TablePropName="Tab">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ThemeName" msprop:Generator_UserColumnName="ThemeName" msprop:Generator_ColumnPropNameInRow="ThemeName" msprop:Generator_ColumnVarNameInTable="columnThemeName" msprop:Generator_ColumnPropNameInTable="ThemeNameColumn" type="xs:string" default="Blue" minOccurs="0" msdata:Ordinal="4" />
              <xs:element name="ShowLeftPane" msprop:Generator_UserColumnName="ShowLeftPane" msprop:Generator_ColumnVarNameInTable="columnShowLeftPane" msprop:Generator_ColumnPropNameInRow="ShowLeftPane" msprop:Generator_ColumnPropNameInTable="ShowLeftPaneColumn" type="xs:boolean" minOccurs="0" msdata:Ordinal="5" />
              <xs:element name="ShowRightPane" msprop:Generator_UserColumnName="ShowRightPane" msprop:Generator_ColumnVarNameInTable="columnShowRightPane" msprop:Generator_ColumnPropNameInRow="ShowRightPane" msprop:Generator_ColumnPropNameInTable="ShowRightPaneColumn" type="xs:boolean" minOccurs="0" msdata:Ordinal="6" />
              <xs:element name="ShowOnMenu" msprop:Generator_UserColumnName="ShowOnMenu" msprop:Generator_ColumnPropNameInRow="ShowOnMenu" msprop:Generator_ColumnVarNameInTable="columnShowOnMenu" msprop:Generator_ColumnPropNameInTable="ShowOnMenuColumn" type="xs:boolean" minOccurs="0" msdata:Ordinal="7" />
            </xs:sequence>
            <xs:attribute name="ID" form="unqualified" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" use="required" />
            <xs:attribute name="Name" form="unqualified" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" type="xs:string" />
            <xs:attribute name="AuthorizedRoles" form="unqualified" msprop:Generator_UserColumnName="AuthorizedRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedRolesColumn" type="xs:string" />
            <xs:attribute name="Order" form="unqualified" msprop:Generator_UserColumnName="Order" msprop:Generator_ColumnPropNameInRow="Order" msprop:Generator_ColumnVarNameInTable="columnOrder" msprop:Generator_ColumnPropNameInTable="OrderColumn" type="xs:int" />
          </xs:complexType>
        </xs:element>
        <xs:element name="Module" msprop:Generator_UserTableName="Module" msprop:Generator_RowDeletedName="ModuleRowDeleted" msprop:Generator_RowChangedName="ModuleRowChanged" msprop:Generator_RowClassName="ModuleRow" msprop:Generator_RowChangingName="ModuleRowChanging" msprop:Generator_RowEvArgName="ModuleRowChangeEvent" msprop:Generator_RowEvHandlerName="ModuleRowChangeEventHandler" msprop:Generator_TableClassName="ModuleDataTable" msprop:Generator_TableVarName="tableModule" msprop:Generator_RowDeletingName="ModuleRowDeleting" msprop:Generator_TablePropName="Module">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn" type="xs:string" minOccurs="0" msdata:Ordinal="1" />
              <xs:element name="ShowTitle" msprop:Generator_UserColumnName="ShowTitle" msprop:Generator_ColumnPropNameInRow="ShowTitle" msprop:Generator_ColumnVarNameInTable="columnShowTitle" msprop:Generator_ColumnPropNameInTable="ShowTitleColumn" type="xs:boolean" minOccurs="0" msdata:Ordinal="7" />
              <xs:element name="AuthorizedViewRoles" msprop:Generator_UserColumnName="AuthorizedViewRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedViewRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedViewRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedViewRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="8" />
              <xs:element name="AuthorizedEditRoles" msprop:Generator_UserColumnName="AuthorizedEditRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedEditRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedEditRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedEditRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="9" />
              <xs:element name="AuthorizedAddRoles" msprop:Generator_UserColumnName="AuthorizedAddRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedAddRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedAddRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedAddRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="10" />
              <xs:element name="AuthorizedDeleteRoles" msprop:Generator_UserColumnName="AuthorizedDeleteRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedDeleteRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedDeleteRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedDeleteRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="11" />
              <xs:element name="AuthorizedPropertyRoles" msprop:Generator_UserColumnName="AuthorizedPropertyRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedPropertyRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedPropertyRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedPropertyRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="12" />
              <xs:element name="AuthorizedManagerRoles" msprop:Generator_UserColumnName="AuthorizedManagerRoles" msprop:Generator_ColumnVarNameInTable="columnAuthorizedManagerRoles" msprop:Generator_ColumnPropNameInRow="AuthorizedManagerRoles" msprop:Generator_ColumnPropNameInTable="AuthorizedManagerRolesColumn" type="xs:string" default="" minOccurs="0" msdata:Ordinal="13" />
            </xs:sequence>
            <xs:attribute name="ID" form="unqualified" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" use="required" />
            <xs:attribute name="ModuleDefinitionID" form="unqualified" msprop:Generator_UserColumnName="ModuleDefinitionID" msprop:Generator_ColumnPropNameInRow="ModuleDefinitionID" msprop:Generator_ColumnVarNameInTable="columnModuleDefinitionID" msprop:Generator_ColumnPropNameInTable="ModuleDefinitionIDColumn" type="xs:int" />
            <xs:attribute name="PaneName" form="unqualified" msprop:Generator_UserColumnName="PaneName" msprop:Generator_ColumnPropNameInRow="PaneName" msprop:Generator_ColumnVarNameInTable="columnPaneName" msprop:Generator_ColumnPropNameInTable="PaneNameColumn" type="xs:string" />
            <xs:attribute name="CacheTimeout" form="unqualified" msprop:Generator_UserColumnName="CacheTimeout" msprop:Generator_ColumnPropNameInRow="CacheTimeout" msprop:Generator_ColumnVarNameInTable="columnCacheTimeout" msprop:Generator_ColumnPropNameInTable="CacheTimeoutColumn" type="xs:int" />
            <xs:attribute name="Order" form="unqualified" msprop:Generator_UserColumnName="Order" msprop:Generator_ColumnPropNameInRow="Order" msprop:Generator_ColumnVarNameInTable="columnOrder" msprop:Generator_ColumnPropNameInTable="OrderColumn" type="xs:int" />
            <xs:attribute name="TabID" form="unqualified" msprop:Generator_UserColumnName="TabID" msprop:Generator_ColumnPropNameInRow="TabID" msprop:Generator_ColumnVarNameInTable="columnTabID" msprop:Generator_ColumnPropNameInTable="TabIDColumn" type="xs:int" />
          </xs:complexType>
        </xs:element>
        <xs:element name="Settings" msprop:Generator_UserTableName="Settings" msprop:Generator_RowDeletedName="SettingsRowDeleted" msprop:Generator_RowChangedName="SettingsRowChanged" msprop:Generator_RowClassName="SettingsRow" msprop:Generator_RowChangingName="SettingsRowChanging" msprop:Generator_RowEvArgName="SettingsRowChangeEvent" msprop:Generator_RowEvHandlerName="SettingsRowChangeEventHandler" msprop:Generator_TableClassName="SettingsDataTable" msprop:Generator_TableVarName="tableSettings" msprop:Generator_RowDeletingName="SettingsRowDeleting" msprop:Generator_TablePropName="Settings">
          <xs:complexType>
            <xs:attribute name="Settings_Id" form="unqualified" msdata:AutoIncrement="true" msprop:Generator_UserColumnName="Settings_Id" msprop:Generator_ColumnPropNameInRow="Settings_Id" msprop:Generator_ColumnVarNameInTable="columnSettings_Id" msprop:Generator_ColumnPropNameInTable="Settings_IdColumn" type="xs:int" use="required" />
            <xs:attribute name="ModuleId" form="unqualified" msprop:Generator_UserColumnName="ModuleId" msprop:Generator_ColumnPropNameInRow="ModuleId" msprop:Generator_ColumnVarNameInTable="columnModuleId" msprop:Generator_ColumnPropNameInTable="ModuleIdColumn" type="xs:int" />
          </xs:complexType>
        </xs:element>
        <xs:element name="Setting" nillable="true" msprop:Generator_UserTableName="Setting" msprop:Generator_RowDeletedName="SettingRowDeleted" msprop:Generator_RowChangedName="SettingRowChanged" msprop:Generator_RowClassName="SettingRow" msprop:Generator_RowChangingName="SettingRowChanging" msprop:Generator_RowEvArgName="SettingRowChangeEvent" msprop:Generator_RowEvHandlerName="SettingRowChangeEventHandler" msprop:Generator_TableClassName="SettingDataTable" msprop:Generator_TableVarName="tableSetting" msprop:Generator_RowDeletingName="SettingRowDeleting" msprop:Generator_TablePropName="Setting">
          <xs:complexType>
            <xs:simpleContent msprop:Generator_UserColumnName="Setting_Text" msprop:Generator_ColumnPropNameInRow="Setting_Text" msprop:Generator_ColumnVarNameInTable="columnSetting_Text" msprop:Generator_ColumnPropNameInTable="Setting_TextColumn" msdata:ColumnName="Setting_Text" msdata:Ordinal="1">
              <xs:extension base="xs:string">
                <xs:attribute name="Name" form="unqualified" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" type="xs:string" />
                <xs:attribute name="Settings_Id" form="unqualified" msprop:Generator_UserColumnName="Settings_Id" msprop:Generator_ColumnPropNameInRow="Settings_Id" msprop:Generator_ColumnVarNameInTable="columnSettings_Id" msprop:Generator_ColumnPropNameInTable="Settings_IdColumn" type="xs:int" />
              </xs:extension>
            </xs:simpleContent>
          </xs:complexType>
        </xs:element>
        <xs:element name="ModuleDefinition" msprop:Generator_UserTableName="ModuleDefinition" msprop:Generator_RowDeletedName="ModuleDefinitionRowDeleted" msprop:Generator_RowChangedName="ModuleDefinitionRowChanged" msprop:Generator_RowClassName="ModuleDefinitionRow" msprop:Generator_RowChangingName="ModuleDefinitionRowChanging" msprop:Generator_RowEvArgName="ModuleDefinitionRowChangeEvent" msprop:Generator_RowEvHandlerName="ModuleDefinitionRowChangeEventHandler" msprop:Generator_TableClassName="ModuleDefinitionDataTable" msprop:Generator_TableVarName="tableModuleDefinition" msprop:Generator_RowDeletingName="ModuleDefinitionRowDeleting" msprop:Generator_TablePropName="ModuleDefinition">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="GeneralDefinitionID" msdata:DataType="System.Guid, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" msprop:Generator_UserColumnName="GeneralDefinitionID" msprop:Generator_ColumnPropNameInRow="GeneralDefinitionID" msprop:Generator_ColumnVarNameInTable="columnGeneralDefinitionID" msprop:Generator_ColumnPropNameInTable="GeneralDefinitionIDColumn" type="xs:string" minOccurs="0" msdata:Ordinal="3" />
            </xs:sequence>
            <xs:attribute name="ID" form="unqualified" msdata:Caption="ModuleDefId" msprop:Generator_UserColumnName="ID" msprop:Generator_ColumnPropNameInRow="ID" msprop:Generator_ColumnVarNameInTable="columnID" msprop:Generator_ColumnPropNameInTable="IDColumn" type="xs:int" use="required" />
            <xs:attribute name="Name" form="unqualified" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" type="xs:string" />
            <xs:attribute name="SourceFile" form="unqualified" msprop:Generator_UserColumnName="SourceFile" msprop:Generator_ColumnPropNameInRow="SourceFile" msprop:Generator_ColumnVarNameInTable="columnSourceFile" msprop:Generator_ColumnPropNameInTable="SourceFileColumn" type="xs:string" />
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="GlobalKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Global" />
      <xs:field xpath="@PortalID" />
    </xs:unique>
    <xs:unique name="TabKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Tab" />
      <xs:field xpath="@ID" />
    </xs:unique>
    <xs:unique name="ModuleKey" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Module" />
      <xs:field xpath="@ID" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Settings" />
      <xs:field xpath="@Settings_Id" />
    </xs:unique>
    <xs:unique name="ModDefKey1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ModuleDefinition" />
      <xs:field xpath="@ID" />
    </xs:unique>
    <xs:keyref name="Settings_Setting" refer="Constraint1" msprop:rel_Generator_UserRelationName="Settings_Setting" msprop:rel_Generator_RelationVarName="relationSettings_Setting" msprop:rel_Generator_UserChildTable="Setting" msprop:rel_Generator_UserParentTable="Settings" msprop:rel_Generator_ParentPropName="SettingsRow" msprop:rel_Generator_ChildPropName="GetSettingRows">
      <xs:selector xpath=".//mstns:Setting" />
      <xs:field xpath="@Settings_Id" />
    </xs:keyref>
    <xs:keyref name="Module_Settings" refer="ModuleKey" msprop:rel_Generator_UserRelationName="Module_Settings" msprop:rel_Generator_RelationVarName="relationModule_Settings" msprop:rel_Generator_UserChildTable="Settings" msprop:rel_Generator_UserParentTable="Module" msprop:rel_Generator_ParentPropName="ModuleRow" msprop:rel_Generator_ChildPropName="GetSettingsRows">
      <xs:selector xpath=".//mstns:Settings" />
      <xs:field xpath="@ModuleId" />
    </xs:keyref>
    <xs:keyref name="FK_Tab_Module" refer="TabKey" msprop:rel_Generator_UserRelationName="FK_Tab_Module" msprop:rel_Generator_RelationVarName="relationFK_Tab_Module" msprop:rel_Generator_UserChildTable="Module" msprop:rel_Generator_UserParentTable="Tab" msprop:rel_Generator_ParentPropName="TabRow" msprop:rel_Generator_ChildPropName="GetModuleRows">
      <xs:selector xpath=".//mstns:Module" />
      <xs:field xpath="@TabID" />
    </xs:keyref>
    <xs:keyref name="FK_ModuleDefinition_Module" refer="ModDefKey1" msprop:rel_Generator_UserRelationName="FK_ModuleDefinition_Module" msprop:rel_Generator_RelationVarName="relationFK_ModuleDefinition_Module" msprop:rel_Generator_UserChildTable="Module" msprop:rel_Generator_UserParentTable="ModuleDefinition" msprop:rel_Generator_ParentPropName="ModuleDefinitionRow" msprop:rel_Generator_ChildPropName="GetModuleRows">
      <xs:selector xpath=".//mstns:Module" />
      <xs:field xpath="@ModuleDefinitionID" />
    </xs:keyref>
  </xs:element>
</xs:schema>